package cn.org.qary.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "secondary_type")
public class SecondaryType {

  @Id
  @KeySql(useGeneratedKeys = true)
  private Integer id;
  private String name;

  @Column(name = "first_type_id")
  private Integer firstTypeId;


}
